package stockcontrol;

/**
 *
 * @author yue
 */
public class LotePanel extends javax.swing.JPanel {

    float c2; //costo de orden de compra
    float c1; //importe de compra
    float c3; //costo de almacenamiento
    double[] demanda;

    /** Creates new form LotePanel */
    public LotePanel() {
        initComponents();
    }

    public void calcularLote(Estadisticas e){

        demanda = e.getDemandaEstimada();
        c1 = e.getCosto();
        c2 = e.getCostoOrden();

        try{
            c3 = Float.parseFloat(costoAlmacenamientoField.getText());
        }
        catch(NumberFormatException exp){
            costoAlmacenamientoField.setText("1");
            c3 = Float.parseFloat(costoAlmacenamientoField.getText());
        }

        demandaInfField.setText(""+Math.round(demanda[0]));
        demandaSupField.setText(""+Math.round(demanda[1]));
        costoOrdenarField.setText(String.format("%.2f",c2));
        importeCompraField.setText(String.format("%.2f",c1));

        for (int i=0; i<2; i++){

            double d=demanda[i];

            int q = 0;
            float Imm = 0;
            double CTA = 0;
            long t = 0;
            double c = 0;

            if (d!=0){
                q = Math.round((float)Math.sqrt((2*c2*d)/c3)); //lote optimo
                Imm = Math.round(q/2); //inventario medio
                CTA = c1*d + c2*d/q + c3/2*q; //costo total anual
                t = Math.round(q/d*365); //tiempo entre pedidos
                c = CTA/(d/q); //costo por pedido unitario
            }

            if (i==0){
                loteOptimoInfField.setText(""+q);
                inventarioMedioInfField.setText(String.format("%.2f",Imm));
                CTAInfField.setText(String.format("%.2f",CTA));
                tiempoPedidosInfField.setText(""+t);
                costoPedidoInfField.setText(String.format("%.2f",c));
            }
            else {
                loteOptimoSupField.setText(""+q);
                inventarioMedioSupField.setText(String.format("%.2f",Imm));
                CTASupField.setText(String.format("%.2f",CTA));
                tiempoPedidosSupField.setText(""+t);
                costoPedidoSupField.setText(String.format("%.2f",c));
            }
        }

    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        importeCompraLabel = new javax.swing.JLabel();
        costoAlmacenamientoLabel = new javax.swing.JLabel();
        costoOrdenarField = new javax.swing.JTextField();
        demandaInfField = new javax.swing.JTextField();
        jSeparator1 = new javax.swing.JSeparator();
        jLabel6 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        inventarioMedioInfField = new javax.swing.JTextField();
        costoPedidoInfField = new javax.swing.JTextField();
        costoPedidoLabel = new javax.swing.JLabel();
        CTAInfField = new javax.swing.JTextField();
        tiempoPedidosInfField = new javax.swing.JTextField();
        importeCompraField = new javax.swing.JTextField();
        inventarioMedioSupField = new javax.swing.JTextField();
        costoPedidoSupField = new javax.swing.JTextField();
        costoAlmacenamientoField = new javax.swing.JTextField();
        CTASupField = new javax.swing.JTextField();
        tiempoPedidosSupField = new javax.swing.JTextField();
        loteOptimoSupField = new javax.swing.JTextField();
        loteOptimoInfField = new javax.swing.JTextField();
        tiempoPedidosLabel = new javax.swing.JLabel();
        CTALabel = new javax.swing.JLabel();
        inventarioMedioLabel = new javax.swing.JLabel();
        loteOptimoLabel = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();
        demandaLabel = new javax.swing.JLabel();
        costoOrdenarLabel = new javax.swing.JLabel();
        demandaSupField = new javax.swing.JTextField();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        jLabel11 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        jLabel14 = new javax.swing.JLabel();

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(stockcontrol.StockControlApp.class).getContext().getResourceMap(LotePanel.class);
        importeCompraLabel.setText(resourceMap.getString("importeCompraLabel.text")); // NOI18N
        importeCompraLabel.setName("importeCompraLabel"); // NOI18N

        costoAlmacenamientoLabel.setText(resourceMap.getString("costoAlmacenamientoLabel.text")); // NOI18N
        costoAlmacenamientoLabel.setName("costoAlmacenamientoLabel"); // NOI18N

        costoOrdenarField.setEnabled(false);
        costoOrdenarField.setName("costoOrdenarField"); // NOI18N

        demandaInfField.setEnabled(false);
        demandaInfField.setName("demandaInfField"); // NOI18N

        jSeparator1.setName("jSeparator1"); // NOI18N

        jLabel6.setText(resourceMap.getString("jLabel6.text")); // NOI18N
        jLabel6.setName("jLabel6"); // NOI18N

        jLabel5.setText(resourceMap.getString("jLabel5.text")); // NOI18N
        jLabel5.setName("jLabel5"); // NOI18N

        jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N
        jLabel3.setName("jLabel3"); // NOI18N

        jLabel4.setText(resourceMap.getString("jLabel4.text")); // NOI18N
        jLabel4.setName("jLabel4"); // NOI18N

        inventarioMedioInfField.setEnabled(false);
        inventarioMedioInfField.setName("inventarioMedioInfField"); // NOI18N

        costoPedidoInfField.setEnabled(false);
        costoPedidoInfField.setName("costoPedidoInfField"); // NOI18N

        costoPedidoLabel.setText(resourceMap.getString("costoPedidoLabel.text")); // NOI18N
        costoPedidoLabel.setName("costoPedidoLabel"); // NOI18N

        CTAInfField.setEnabled(false);
        CTAInfField.setName("CTAInfField"); // NOI18N

        tiempoPedidosInfField.setEnabled(false);
        tiempoPedidosInfField.setName("tiempoPedidosInfField"); // NOI18N

        importeCompraField.setEnabled(false);
        importeCompraField.setName("importeCompraField"); // NOI18N

        inventarioMedioSupField.setEnabled(false);
        inventarioMedioSupField.setName("inventarioMedioSupField"); // NOI18N

        costoPedidoSupField.setEnabled(false);
        costoPedidoSupField.setName("costoPedidoSupField"); // NOI18N

        costoAlmacenamientoField.setName("costoAlmacenamientoField"); // NOI18N

        CTASupField.setEnabled(false);
        CTASupField.setName("CTASupField"); // NOI18N

        tiempoPedidosSupField.setEnabled(false);
        tiempoPedidosSupField.setName("tiempoPedidosSupField"); // NOI18N

        loteOptimoSupField.setEnabled(false);
        loteOptimoSupField.setName("loteOptimoSupField"); // NOI18N

        loteOptimoInfField.setEnabled(false);
        loteOptimoInfField.setName("loteOptimoInfField"); // NOI18N

        tiempoPedidosLabel.setText(resourceMap.getString("tiempoPedidosLabel.text")); // NOI18N
        tiempoPedidosLabel.setName("tiempoPedidosLabel"); // NOI18N

        CTALabel.setText(resourceMap.getString("CTALabel.text")); // NOI18N
        CTALabel.setName("CTALabel"); // NOI18N

        inventarioMedioLabel.setText(resourceMap.getString("inventarioMedioLabel.text")); // NOI18N
        inventarioMedioLabel.setName("inventarioMedioLabel"); // NOI18N

        loteOptimoLabel.setText(resourceMap.getString("loteOptimoLabel.text")); // NOI18N
        loteOptimoLabel.setName("loteOptimoLabel"); // NOI18N

        jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N
        jLabel2.setName("jLabel2"); // NOI18N

        jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
        jLabel1.setName("jLabel1"); // NOI18N

        demandaLabel.setText(resourceMap.getString("demandaLabel.text")); // NOI18N
        demandaLabel.setName("demandaLabel"); // NOI18N

        costoOrdenarLabel.setText(resourceMap.getString("costoOrdenarLabel.text")); // NOI18N
        costoOrdenarLabel.setName("costoOrdenarLabel"); // NOI18N

        demandaSupField.setEnabled(false);
        demandaSupField.setName("demandaSupField"); // NOI18N

        jLabel8.setText(resourceMap.getString("jLabel8.text")); // NOI18N
        jLabel8.setName("jLabel8"); // NOI18N

        jLabel9.setText(resourceMap.getString("jLabel9.text")); // NOI18N
        jLabel9.setName("jLabel9"); // NOI18N

        jLabel10.setText(resourceMap.getString("jLabel10.text")); // NOI18N
        jLabel10.setName("jLabel10"); // NOI18N

        jLabel11.setText(resourceMap.getString("jLabel11.text")); // NOI18N
        jLabel11.setName("jLabel11"); // NOI18N

        jLabel12.setText(resourceMap.getString("jLabel12.text")); // NOI18N
        jLabel12.setName("jLabel12"); // NOI18N

        jLabel14.setText(resourceMap.getString("jLabel14.text")); // NOI18N
        jLabel14.setName("jLabel14"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jSeparator1, javax.swing.GroupLayout.DEFAULT_SIZE, 647, Short.MAX_VALUE)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGap(35, 35, 35)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(demandaLabel)
                    .addComponent(costoOrdenarLabel)
                    .addComponent(costoAlmacenamientoLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(costoOrdenarField)
                    .addComponent(demandaInfField, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(costoAlmacenamientoField, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 100, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(12, 12, 12)
                        .addComponent(jLabel1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(importeCompraLabel)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(importeCompraField, javax.swing.GroupLayout.DEFAULT_SIZE, 57, Short.MAX_VALUE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jLabel9)
                                .addGap(142, 142, 142))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(14, 14, 14)
                                .addComponent(demandaSupField, javax.swing.GroupLayout.PREFERRED_SIZE, 82, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jLabel8))))
                    .addComponent(jLabel10))
                .addContainerGap())
            .addGroup(layout.createSequentialGroup()
                .addGap(19, 19, 19)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(loteOptimoLabel)
                    .addComponent(inventarioMedioLabel)
                    .addComponent(CTALabel)
                    .addComponent(tiempoPedidosLabel)
                    .addComponent(costoPedidoLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(costoPedidoInfField, javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(CTAInfField, javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(inventarioMedioInfField, javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(loteOptimoInfField, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 105, Short.MAX_VALUE)
                    .addComponent(tiempoPedidosInfField, javax.swing.GroupLayout.Alignment.LEADING))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel4)
                    .addComponent(jLabel2)
                    .addComponent(jLabel3)
                    .addComponent(jLabel5)
                    .addComponent(jLabel6))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(CTASupField, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(tiempoPedidosSupField, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel14))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(inventarioMedioSupField, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(loteOptimoSupField, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel11)
                            .addComponent(jLabel12)))
                    .addComponent(costoPedidoSupField, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(164, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(costoOrdenarField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(importeCompraLabel)
                    .addComponent(importeCompraField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel9)
                    .addComponent(costoOrdenarLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(demandaInfField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(demandaLabel)
                    .addComponent(jLabel1)
                    .addComponent(jLabel8)
                    .addComponent(demandaSupField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(costoAlmacenamientoField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel10)
                    .addComponent(costoAlmacenamientoLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(loteOptimoLabel)
                            .addComponent(loteOptimoInfField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel2))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(inventarioMedioInfField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(inventarioMedioLabel))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(CTAInfField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(CTALabel, javax.swing.GroupLayout.PREFERRED_SIZE, 17, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel4)
                            .addComponent(CTASupField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(tiempoPedidosInfField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(tiempoPedidosLabel)
                            .addComponent(jLabel5)
                            .addComponent(tiempoPedidosSupField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel14))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(costoPedidoInfField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(costoPedidoLabel)))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(33, 33, 33)
                        .addComponent(jLabel3))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(loteOptimoSupField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel11))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(inventarioMedioSupField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel12))
                        .addGap(59, 59, 59)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(costoPedidoSupField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel6))))
                .addContainerGap(17, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTextField CTAInfField;
    private javax.swing.JLabel CTALabel;
    private javax.swing.JTextField CTASupField;
    private javax.swing.JTextField costoAlmacenamientoField;
    private javax.swing.JLabel costoAlmacenamientoLabel;
    private javax.swing.JTextField costoOrdenarField;
    private javax.swing.JLabel costoOrdenarLabel;
    private javax.swing.JTextField costoPedidoInfField;
    private javax.swing.JLabel costoPedidoLabel;
    private javax.swing.JTextField costoPedidoSupField;
    private javax.swing.JTextField demandaInfField;
    private javax.swing.JLabel demandaLabel;
    private javax.swing.JTextField demandaSupField;
    private javax.swing.JTextField importeCompraField;
    private javax.swing.JLabel importeCompraLabel;
    private javax.swing.JTextField inventarioMedioInfField;
    private javax.swing.JLabel inventarioMedioLabel;
    private javax.swing.JTextField inventarioMedioSupField;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JTextField loteOptimoInfField;
    private javax.swing.JLabel loteOptimoLabel;
    private javax.swing.JTextField loteOptimoSupField;
    private javax.swing.JTextField tiempoPedidosInfField;
    private javax.swing.JLabel tiempoPedidosLabel;
    private javax.swing.JTextField tiempoPedidosSupField;
    // End of variables declaration//GEN-END:variables

}
